Pawan Chitrakar [Sun, 29 Aug 2004 13:02:22 +0000 (13:02 +0000)]
Updated Nepali Translation
2004-08-29 Pawan Chitrakar <pawan@nplinux.org>
* ne.po: Updated Nepali Translation
Tor Lillqvist [Fri, 27 Aug 2004 23:38:06 +0000 (23:38 +0000)]
Add drop_failed, like in the X11 backend. Nothing sets it, though.
2004-08-27 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdnd-win32.c (GdkDragContextPrivateWin32): Add
drop_failed, like in the X11 backend. Nothing sets it, though.
(gdk_drag_drop_succeeded): Copy from X11 backend.
Maxim Dziumanenko [Fri, 27 Aug 2004 11:17:50 +0000 (11:17 +0000)]
Updated Ukrainian translation.
2004-08-27 Maxim Dziumanenko <mvd@mylinux.com.ua>
* Updated Ukrainian translation.
Matthias Clasen [Fri, 27 Aug 2004 03:59:05 +0000 (03:59 +0000)]
Don't crash if model is not set. Noted by Mariano Suarez-Alvarez.
Thu Aug 26 23:58:11 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_key_press): Don't crash
if model is not set. Noted by Mariano Suarez-Alvarez.
Matthias Clasen [Fri, 27 Aug 2004 02:54:12 +0000 (02:54 +0000)]
Provide information about how an adjustment change in a range widget
Thu Aug 26 22:44:12 2004 Matthias Clasen <maclas@gmx.de>
Provide information about how an adjustment change in a range
widget happened. Add a "slider-moved" signal which reports how
a user is interacting with the range, whether they are clicking
on a stepper or the trough, or dragging the slider. (#133263,
Thomas Fitzsimmons)
* gtk/gtkmarshalers.list: Add signal type BOOLEAN:ENUM,DOUBLE.
* gtk/gtkrange.c (gtk_range_class_init): Add "change-value"
signal.
(gtk_range_internal_set_value): Rename to
gtk_range_real_change_value. Add GtkScrollType parameter. Emit
the change-value signal when the range's value changes.
(update_slider_position, gtk_range_scroll_event, step_back,
step_forward, page_back, page_forward, scroll_begin,
scroll_end): Change gtk_range_internal_set_value to
gtk_range_real_change_value.
* gtk/gtkrange.h (struct _GtkRangeClass): Declare change_value
function.
Matthias Clasen [Thu, 26 Aug 2004 14:29:25 +0000 (14:29 +0000)]
Build imime.la on Windows.
2004-08-26 Matthias Clasen <mclasen@redhat.com>
* modules/input/Makefile.am: Build imime.la on Windows.
* modules/input/gtkimcontextime.h:
* modules/input/gtkimcontextime.c:
* modules/input/imime.c:
* modules/input/imm-extra.h: Add the IME input method for Win32
written by Takuro Ashie and Kazuko IWAMOTO. The code was previously
hosted at http://sourceforge.jp/projects/imime. (#135195)
Bill Haneman [Thu, 26 Aug 2004 14:12:31 +0000 (14:12 +0000)]
Fix for #131226, allow selection of singleton list items in multi-select
lists, via keyboard. [on behalf of Padraig O'Briain]
Matthias Clasen [Thu, 26 Aug 2004 14:09:08 +0000 (14:09 +0000)]
Make gdk_window_process_[all]_updates() respect update_freeze_counter
2004-08-26 Matthias Clasen <mclasen@redhat.com>
Make gdk_window_process_[all]_updates() respect
update_freeze_counter (#144272, Soeren Sandmann)
* gdk/gdkwindow.c (gdk_window_schedule_update): New function to
install an idle for gdk_window_update_idle() if one isn't there
already.
(gdk_window_process_all_updates):
(gdk_window_process_updates): Only process the updates if the
window isn't frozen.
(gdk_window_invalidate_maybe_recurse): Schedule an update when
necessary.
(gdk_window_thaw_updates): Use gdk_window_schedule_update() instead
of directly installing the idle.
Matthias Clasen [Thu, 26 Aug 2004 05:33:13 +0000 (05:33 +0000)]
Add gdk_pixbuf_new_from_file_at_scale(), which is just like
Thu Aug 26 01:23:16 2004 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf-core.h:
* gdk-pixbuf.symbols:
* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_scale):
Add gdk_pixbuf_new_from_file_at_scale(), which is just
like gdk_pixbuf_new_from_file_at_size(), but optionally
ignores the aspect ratio. (#136395, Dom Lachowicz)
Robert Ögren [Thu, 26 Aug 2004 00:57:40 +0000 (00:57 +0000)]
On Win32, make graphical tablets work on multi-monitor systems. (#145467,
2004-08-22 Robert Ögren <gtk@roboros.com>
On Win32, make graphical tablets work on multi-monitor systems.
(#145467, reported by buttknock1@ya...)
* gdk/win32/gdkinput-win32.c (gdk_input_translate_coordinates):
Use dimensions of _gdk_parent_root as screen size.
(gdk_input_get_root_relative_geometry): Get coordinates relative
to GDK root window instead of Win32 coordinates.
(_gdk_input_other_event): Updated accordingly.
Manish Singh [Thu, 26 Aug 2004 00:23:46 +0000 (00:23 +0000)]
remove unused gdk_font_charset_for_locale() function.
Wed Aug 25 17:24:17 2004 Manish Singh <yosh@gimp.org>
* gdk/x11/gdkfont-x11.c: remove unused gdk_font_charset_for_locale()
function.
* gdk/x11/gdkinput-x11.c (_gdk_input_common_init): remove unused
variables num_extensions and extensions.
* gtk/gtkhsv.c: remove unused gtk_hsv_get_focus_gc() function.
Manish Singh [Thu, 26 Aug 2004 00:21:34 +0000 (00:21 +0000)]
remove unused set_need_recomposite() function.
Wed Aug 25 17:23:23 2004 Manish Singh <yosh@gimp.org>
* io-gif.c: remove unused set_need_recomposite() function.
Manish Singh [Thu, 26 Aug 2004 00:20:25 +0000 (00:20 +0000)]
initialize path so we don't potentially use an undefined pointer.
Wed Aug 25 17:14:58 2004 Manish Singh <yosh@gimp.org>
* gtk/gtktreeview.c (gtk_tree_view_search_activate): initialize
path so we don't potentially use an undefined pointer.
* gtk/gtkfilechooserdefault.c (shortcuts_list_create): add G_CALLBACK
cast for tree_view_keybinding_cb.
* gtk/gtkfilechooserdefault.c (location_entry_create): cast to
GTK_FILE_CHOOSER_ENTRY for _gtk_file_chooser_entry_set_file_part()
calls.
* gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_start_editing):
cast to GTK_COMBO_BOX for gtk_combo_box_set_active_iter() call.
* gtk/gtkselection.c (selection_get_text_plain): make len a gsize,
since that's what g_convert_with_fallback() expects.
David Lodge [Wed, 25 Aug 2004 22:11:16 +0000 (22:11 +0000)]
Updated Old English translation
2004-08-25 David Lodge <dave@cirt.net>
* ang.po: Updated Old English translation
Jonathan Blandford [Wed, 25 Aug 2004 20:15:45 +0000 (20:15 +0000)]
activate the typeahead entry on enter.
Wed Aug 25 16:14:34 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_search_activate): activate the
typeahead entry on enter.
Matthias Clasen [Wed, 25 Aug 2004 20:06:29 +0000 (20:06 +0000)]
Steal ATTACHED_MENUS list so its tail isn't freed when we re-set it,
2004-08-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenu.c (gtk_menu_attach_to_widget): Steal ATTACHED_MENUS
list so its tail isn't freed when we re-set it, noticed
by Hans Petter Jansson.
Matthias Clasen [Wed, 25 Aug 2004 20:00:00 +0000 (20:00 +0000)]
Fix a typo, noticed by Tim Janik.
2004-08-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksizegroup.c (gtk_size_group_add_widget): Fix
a typo, noticed by Tim Janik.
Jonathan Blandford [Wed, 25 Aug 2004 19:19:43 +0000 (19:19 +0000)]
Change the Down button to be end-justified, so that clicking on it is a
Wed Aug 25 15:15:56 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkpathbar.c (gtk_path_bar_size_allocate): Change the Down
button to be end-justified, so that clicking on it is a stable
operation.
Jonathan Blandford [Wed, 25 Aug 2004 19:10:38 +0000 (19:10 +0000)]
Don't handle the event if we have no children.
Tue Aug 24 02:06:37 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtktreeview.c
(gtk_tree_view_real_expand_collapse_cursor_row): Don't handle the
event if we have no children.
* gtk/gtkfilechooserdefault.c (trap_activate_cb):
(tree_view_keybinding_cb):Since GtkTreeView has a keybinding
attached to '/', we need to catch keypresses before the TreeView
gets them.
(gtk_file_chooser_default_class_init): add '/' to be a keybinding
to the C-l dialog.
(location_entry_create): Clear the text to "" when loading a file.
This has a much better feel than putting the currently selected
in.
* #include <errno.h>
Gustavo Maciel Dias Vieira [Wed, 25 Aug 2004 18:05:26 +0000 (18:05 +0000)]
Some consistency fixes.
2004-08-25 Gustavo Maciel Dias Vieira <gustavo@sagui.org>
* pt_BR.po: Some consistency fixes.
Matthias Clasen [Wed, 25 Aug 2004 16:59:57 +0000 (16:59 +0000)]
Use get_file_info() rather than trying get_folder() and checking for an
2004-08-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (check_is_folder): Use get_file_info() rather
than trying get_folder() and checking for an error directly because older
versions of the gnome-vfs backend don't return an error
immediately. (#150852, Zack Cerza )
Matthias Clasen [Wed, 25 Aug 2004 16:41:47 +0000 (16:41 +0000)]
Version bump.
Matthias Clasen [Wed, 25 Aug 2004 16:21:15 +0000 (16:21 +0000)]
2.5.2
Matthias Clasen [Wed, 25 Aug 2004 04:04:32 +0000 (04:04 +0000)]
Update to 2.5.2
Søren Sandmann [Tue, 24 Aug 2004 22:37:23 +0000 (22:37 +0000)]
Fix logical errors in gtk_list_store_move_before/after(). (#150983, patch
Wed Aug 25 00:09:07 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_move_after): Fix logical
errors in gtk_list_store_move_before/after(). (#150983, patch by
Robert Ögren).
Søren Sandmann [Tue, 24 Aug 2004 22:23:29 +0000 (22:23 +0000)]
Remove debug spew
Wed Aug 25 00:22:48 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtksequence.c: Remove debug spew
Matthias Clasen [Tue, 24 Aug 2004 20:25:15 +0000 (20:25 +0000)]
Use the correct index, and compare correctly, reported by Tommi
2004-08-24 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_mime_type): Use
the correct index, and compare correctly, reported by Tommi Komulainen.
Matthias Clasen [Tue, 24 Aug 2004 19:53:58 +0000 (19:53 +0000)]
Use the correct index, reported by Tommi Komulainen.
2004-08-24 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_mime_type): Use
the correct index, reported by Tommi Komulainen.
Søren Sandmann [Tue, 24 Aug 2004 19:48:38 +0000 (19:48 +0000)]
Just return if the parameters are identical. (#150159, Robert Ögren)
Tue Aug 24 21:46:42 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtksequence.c (_gtk_sequence_move): Just return if the
parameters are identical. (#150159, Robert Ögren)
Matthias Clasen [Tue, 24 Aug 2004 14:51:39 +0000 (14:51 +0000)]
Handle action_group being NULL. (#150869, Tommi Komulainen)
2004-08-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaction.c (connect_proxy, disconnect_proxy): Handle
action_group being NULL. (#150869, Tommi Komulainen)
Matthias Clasen [Tue, 24 Aug 2004 14:44:43 +0000 (14:44 +0000)]
Actually free the temporary pixbuf data.
Matthias Clasen [Tue, 24 Aug 2004 14:32:15 +0000 (14:32 +0000)]
Use the correct index variable. (#150941, Tommi Komulainen)
2004-08-24 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkimage.c (allocate_scratch_images): Use the correct
index variable. (#150941, Tommi Komulainen)
Matthias Clasen [Tue, 24 Aug 2004 14:26:47 +0000 (14:26 +0000)]
Take header height and adjustment into account. (#136496, Pawek Salek)
2004-08-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Take header
height and adjustment into account. (#136496, Pawek Salek)
Matthias Clasen [Tue, 24 Aug 2004 13:54:26 +0000 (13:54 +0000)]
Work around bugs in the runlength encoder by forcing rowstride * height to
2004-08-24 Matthias Clasen <mclasen@redhat.com>
* gdk-pixdata.c (gdk_pixdata_from_pixbuf): Work around bugs in
the runlength encoder by forcing rowstride * height to be
divisible by bpp. (#150882)
Matthias Clasen [Tue, 24 Aug 2004 06:29:25 +0000 (06:29 +0000)]
Include visual index.
Tue Aug 24 02:28:21 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-docs.sgml: Include visual index.
* gtk/visual_index.xml: New file listing images for
visual index.
Matthias Clasen [Tue, 24 Aug 2004 06:27:05 +0000 (06:27 +0000)]
Add visual index images.
Tue Aug 24 02:26:25 2004 Matthias Clasen <maclas@gmx.de>
* gtk/Makefile.am (HTML_IMAGES): Add visual index images.
Jonathan Blandford [Mon, 23 Aug 2004 21:22:55 +0000 (21:22 +0000)]
add the doc shooter to the docs dir as an uninstalled helper tool.
Mon Aug 23 17:19:19 2004 Jonathan Blandford <jrb@redhat.com>
* configure.in:
* docs/tools/Makefile.am (clean-local): add the doc shooter to the
docs dir as an uninstalled helper tool.
Jonathan Blandford [Mon, 23 Aug 2004 20:57:03 +0000 (20:57 +0000)]
add images to the doc build.
Mon Aug 23 16:56:15 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/Makefile.am: add images to the doc build.
Raymond Penners [Mon, 23 Aug 2004 20:53:53 +0000 (20:53 +0000)]
Scrollbar patch
Matthias Clasen [Mon, 23 Aug 2004 19:05:04 +0000 (19:05 +0000)]
Make it compile.
Matthias Clasen [Mon, 23 Aug 2004 17:10:34 +0000 (17:10 +0000)]
Add a user_time field.
2004-08-23 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a
user_time field.
* gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): Update
toplevel->user_time.
(show_window_internal): Update the user time when re-mapping a
toplevel window. (#150502, Elijah Newren)
Soeren Sandmann [Mon, 23 Aug 2004 15:51:44 +0000 (15:51 +0000)]
Remove conflict markers.
Mon Aug 23 17:33:52 2004 Soeren Sandmann <sandmann@redhat.com>
* ChangeLog: Remove conflict markers.
Matthias Clasen [Mon, 23 Aug 2004 15:37:23 +0000 (15:37 +0000)]
Fix #150822, reported by Christian Persch
2004-08-23 Matthias Clasen <mclasen@redhat.com>
Fix #150822, reported by Christian Persch
* gtk/gtklabel.c (gtk_label_ensure_layout): Set the layout width
appropriately when ellipsized.
(gtk_label_size_allocate): Only set the layout width if there
is a layout.
Matthias Clasen [Mon, 23 Aug 2004 15:12:04 +0000 (15:12 +0000)]
Support the latest EWMH additions to the _NET_ACTIVE_WINDOW client message
2004-08-23 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
EWMH additions to the _NET_ACTIVE_WINDOW client message
format. (#150668, Elijah Newren)
cinamod [Mon, 23 Aug 2004 14:11:28 +0000 (14:11 +0000)]
bump version number
Iñaki Larrañaga [Mon, 23 Aug 2004 11:04:04 +0000 (11:04 +0000)]
Updated Basque translation.
2004-08-23 Iñaki Larrañaga <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.
Matthias Clasen [Mon, 23 Aug 2004 05:19:52 +0000 (05:19 +0000)]
Set unused bits in pixel to 1s in case they are used as alpha; copying
Mon Aug 23 01:17:59 2004 Matthias Clasen <maclas@gmx.de>
* gdk/gdkrgb.c (gdk_rgb_xpixel_from_rgb_internal): Set unused
bits in pixel to 1s in case they are used as alpha; copying
code from gdk_colormap_alloc_colors(). (#150466, Rich Wareham)
Philip Langdale [Sun, 22 Aug 2004 23:45:36 +0000 (23:45 +0000)]
Two signals (gtk_action_sync_property and gtk_action_sync_sensitive) were
2004-08-22 Philip Langdale <plangdale@vmware.com>
* gtk/gtkaction.c (gtk_action_disconnect_proxy): Two signals
(gtk_action_sync_property and gtk_action_sync_sensitive) were
not being correctly disconnected, leading to actions continuing
to affect disconnected proxies. (#150607)
Tor Lillqvist [Sun, 22 Aug 2004 19:16:22 +0000 (19:16 +0000)]
Don't show TEMP windows in the Task Manager. Implement by calling
2004-08-22 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkwindow-win32.c (gdk_window_new_internal,
gdk_window_new, gdk_window_set_skip_taskbar_hint): Don't show TEMP
windows in the Task Manager. Implement by calling
gdk_window_set_skip_taskbar_hint(TRUE) on them. (#145481, Tim
Evans)
Tor Lillqvist [Sun, 22 Aug 2004 16:59:14 +0000 (16:59 +0000)]
Report whole of (primary) monitor, including any taskbars. Excluding the
2004-08-22 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdisplay-win32.c (enum_monitor, gdk_display_open):
Report whole of (primary) monitor, including any taskbars.
Excluding the taskbar area from the "root window" reported to GDK
doesn't seem to be that useful although gdk/win32 had been doing it
for a very long time. (#149013, see also #145467 and #148526)
Soeren Sandmann [Sun, 22 Aug 2004 14:58:15 +0000 (14:58 +0000)]
gtk/gtkexpander.c
Sun Aug 22 16:55:15 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkexpander.c
* gtk/gtkalignment.c:
* gtk/gtktexttag.c
Make enums match property names. Found by a script by Tommi
Komulainen.
* gtk/gtkpaned.c (gtk_paned_class_init): fix min/max mixup.
Sun Aug 22 16:09:49 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkliststore.h (struct _GtkListStore):
* gtk/gtkliststore.c (gtk_list_store_init):
* gtk/gtkliststore.c (gtk_list_store_insert):
* gtk/gtkliststore.c (gtk_list_store_remove):
Restore length field; PyGTK and maybe others use it directly.
Soeren Sandmann [Sun, 22 Aug 2004 14:11:04 +0000 (14:11 +0000)]
Restore length field; PyGTK and maybe others use it directly.
Sun Aug 22 16:09:49 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkliststore.h (struct _GtkListStore):
* gtk/gtkliststore.c (gtk_list_store_init):
* gtk/gtkliststore.c (gtk_list_store_insert):
* gtk/gtkliststore.c (gtk_list_store_remove):
Restore length field; PyGTK and maybe others use it directly.
Soeren Sandmann [Sun, 22 Aug 2004 14:05:30 +0000 (14:05 +0000)]
s/CYCLE_HANDLE_FOCUS/CYCLE_CHILD_FOCUS/
Sun Aug 22 15:46:56 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkpaned.c (gtk_paned_class_init):
s/CYCLE_HANDLE_FOCUS/CYCLE_CHILD_FOCUS/
* gtk/gtkfontbutton.c (gtk_font_button_class_init):
s/PROP_SHOW_SIZE/PROP_SHOW_STYLE/
Both pointed out by Tommi Komulainen.
Soeren Sandmann [Sun, 22 Aug 2004 12:10:14 +0000 (12:10 +0000)]
Use PROP_MAX_POSITION, not PROP_MIN_POSITION for the max_position
Sun Aug 22 13:44:53 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkpaned.c (gtk_paned_class_init): Use PROP_MAX_POSITION,
not PROP_MIN_POSITION for the max_position property. Fix pointet
out by Tommi Komulainen.
Soeren Sandmann [Sun, 22 Aug 2004 12:03:46 +0000 (12:03 +0000)]
Normalize the position so we don't create paths with off-list indices.
Sun Aug 22 13:32:33 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkliststore.c (gtk_list_store_insert): Normalize the
position so we don't create paths with off-list
indices. (#150320).
Soeren Sandmann [Sun, 22 Aug 2004 10:31:49 +0000 (10:31 +0000)]
Use the correct tree path (#150289, Morten Welinder).
Sun Aug 22 12:04:59 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Use the
correct tree path (#150289, Morten Welinder).
Matthias Clasen [Sun, 22 Aug 2004 07:22:39 +0000 (07:22 +0000)]
Fix a mixup in the handling of dest_channels. (#111922, Christophe
Sun Aug 22 03:20:56 2004 Matthias Clasen <maclas@gmx.de>
* pixops/pixops.c (pixops_scale_nearest): Fix a mixup in the handling
of dest_channels. (#111922, Christophe Fergeau)
Matthias Clasen [Sun, 22 Aug 2004 04:11:14 +0000 (04:11 +0000)]
Fix #150406, reported by Fernando San Martín Woerner, patch by Gustavo
Sun Aug 22 00:08:44 2004 Matthias Clasen <maclas@gmx.de>
Fix #150406, reported by Fernando San Martín Woerner, patch
by Gustavo Carneiro.
* gtk/gtkentrycompletion.c
(gtk_entry_completion_default_completion_func): Check that
column is of type G_TYPE_STRING before proceeding.
Matthias Clasen [Sun, 22 Aug 2004 03:56:43 +0000 (03:56 +0000)]
Don't use an uninitialized tree iter. (#150414, Torsten Schoenfeld)
Sat Aug 21 23:53:39 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an
uninitialized tree iter. (#150414, Torsten Schoenfeld)
Matthias Clasen [Sun, 22 Aug 2004 03:38:42 +0000 (03:38 +0000)]
Fix #150738, Tomislav Jonjic.
Sat Aug 21 23:29:54 2004 Matthias Clasen <maclas@gmx.de>
Fix #150738, Tomislav Jonjic.
* gtk/gtktoolitem.h (GTK_IS_TOOL_ITEM_CLASS):
* gtk/gtktoolbutton.h (GTK_IS_TOOL_BUTTON_CLASS):
* gtk/gtktoggleaction.h (GTK_IS_TOGGLE_ACTION_CLASS):
* gtk/gtkseparatortoolitem.h (GTK_IS_SEPARATOR_TOOL_ITEM_CLASS):
* gtk/gtkradiotoolbutton.h (GTK_IS_RADIO_TOOL_BUTTON_CLASS):
* gtk/gtkradioaction.h (GTK_IS_RADIO_ACTION_CLASS):
* gtk/gtkuimanager.h (GTK_IS_UI_MANAGER_CLASS):
* gtk/gtkaction.h (GTK_IS_ACTION_CLASS): Fix macro definitions.
Owen Taylor [Fri, 20 Aug 2004 17:59:24 +0000 (17:59 +0000)]
Fix infinite loop that can occur for bad image data (#150601, Chris Evans,
Fri Aug 20 11:59:10 2004 Owen Taylor <otaylor@redhat.com>
* io-bmp.c: Fix infinite loop that can occur for bad
image data (#150601, Chris Evans, Manish Singh)
Manish Singh [Thu, 19 Aug 2004 00:25:27 +0000 (00:25 +0000)]
demos/testpixbuf-save.c Get rid of some unnecessary casts.
Wed Aug 18 17:25:26 2004 Manish Singh <yosh@gimp.org>
* demos/testpixbuf-save.c
* demos/gtk-demo/hypertext.c: Get rid of some unnecessary casts.
* demos/gtk-demo/appwindow.c: Make activate_email and activate_url
match the arguments for GtkAboutDialogActivateLinkFunc.
Manish Singh [Wed, 18 Aug 2004 23:18:15 +0000 (23:18 +0000)]
Initialize height from fixed_height before we do anything, so it always
Wed Aug 18 16:18:00 2004 Manish Singh <yosh@gimp.org>
* gtk/gtktreeview.c (gtk_tree_view_row_inserted): Initialize height
from fixed_height before we do anything, so it always has a valid
value.
* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Fix call
to gtk_tree_model_get (missing "," in param list).
Federico Mena Quintero [Wed, 18 Aug 2004 16:30:58 +0000 (16:30 +0000)]
Merged from 2.4:
2004-08-18 Federico Mena Quintero <federico@ximian.com>
Merged from 2.4:
Fixes #149251:
* gtk/gtkfilechooserdefault.c: Renamed SHORTCUTS_COL_PATH to
SHORTCUTS_COL_DATA. Add SHORTCUTS_COL_IS_VOLUME, to determine
easily whether the SHORTCUTS_COL_DATA points to a GtkFilePath or a
GtkFileSystemVolume.
(shortcuts_model_create): Create a boolean column for
SHORTCUTS_COL_IS_VOLUME.
(shortcuts_reload_icons): Simplify with the use of the
SHORTCUTS_COL_IS_VOLUME column. Don't leak the pixbuf.
(shortcuts_insert_path): Add the SHORTCUTS_COL_IS_VOLUME data.
(shortcuts_free_row_data): New helper function; frees the data
columns for an iter.
(shortcuts_remove_rows): Don't take a callback for freeing the
data; free everything here instead. Use
shortcuts_free_row_data().
(volume_remove_cb): Removed.
(remove_bookmark_cb): Removed.
(remove_row_cb): Make this a single generic function to delete
rows.
(shortcuts_add_volumes): Use remove_row_cb().
(shortcuts_add_bookmarks): Likewise.
(struct _GtkFileChooserDefault): Removed the
shortcuts_current_folder_is_volume field.
(shortcuts_add_current_folder): Oops, don't free the volume.
(remove_current_folder_cb): Removed.
(shortcut_find_position): Simplify through the use of the
SHORTCUTS_COL_IS_VOLUME column.
(remove_selected_bookmarks): Assert that we don't get a volume.
(shortcuts_reorder): Likewise; also, plug a leak.
(gtk_file_chooser_default_remove_shortcut_folder): Simplify
through the use of shortcuts_remove_rows().
(gtk_file_chooser_default_list_shortcut_folders): Assert that we
don't get a volume.
(shortcuts_activate_iter): Simplify.
(home_folder_handler): Simplify by using
shortcuts_activate_iter().
(shortcuts_free): New function; frees all the data columns.
(gtk_file_chooser_default_finalize): Unref the
shortcuts_filter_model and the shortcuts model data first.
Manish Singh [Wed, 18 Aug 2004 15:45:13 +0000 (15:45 +0000)]
Applied patch from Olivier Andrieu to fix bug #150440.
Wed Aug 18 08:31:17 2004 Manish Singh <yosh@gimp.org>
* gtk/gtkiconview.c: Applied patch from Olivier Andrieu to fix
bug #150440.
* gtk/gtkicontheme.c (gtk_icon_theme_init): xdg_data_dirs should
match constness attributes of g_get_system_data_dirs ().
Manish Singh [Wed, 18 Aug 2004 15:38:21 +0000 (15:38 +0000)]
Shut up CVS
Matthias Clasen [Tue, 17 Aug 2004 19:51:11 +0000 (19:51 +0000)]
Look up icon themes in the directories specified in the icon theme spec:
2004-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkicontheme.c (gtk_icon_theme_init): Look up icon themes in the
directories specified in the icon theme spec: $HOME/.icons,
$XDG_DATA_DIRS/icons, /usr/share/pixmaps. Note that GTK+ used to also look
in $GTK_DATA_DIR/icons, $GTK_DATA_DIR/pixmaps and /usr/share/icons. (#148694)
Matthias Clasen [Tue, 17 Aug 2004 19:10:24 +0000 (19:10 +0000)]
Take widget->state into account when painting the shadows. (#150351, Tim
2004-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkframe.c (gtk_frame_paint): Take widget->state into account when
painting the shadows. (#150351, Tim Janik)
Matthias Clasen [Tue, 17 Aug 2004 18:24:06 +0000 (18:24 +0000)]
No need for INCLUDE_INTERNAL_SYMBOLS anymore.
2004-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore.
* gdk/gdk.symbols: Don't use #if defined().
* gdk/Makefile.am (gdkalias.h):
* gtk/Makefile.am (gtkalias.h): Don't use cpp to filter gtk.symbols.
* gdk/makegdkalias.pl:
* gtk/makegtkalias.pl: Move the #ifdef processing into the perl script, and
keep the #ifdefs which differentiate between platforms.
* gtk/Makefile.am (gtk_private_h_sources): Remove gtkinternals.h, it is no
longer needed.
Matthias Clasen [Tue, 17 Aug 2004 16:52:04 +0000 (16:52 +0000)]
Use g_message() throughout, add RTL envar for rtl testing.
2004-08-17 Matthias Clasen <mclasen@redhat.com>
* tests/testfilechooserbutton.c: Use g_message() throughout, add RTL envar for
rtl testing.
* gtk/gtkfilechooserbutton.c: Get rid of HAVE_CONFIG_H.
(gtk_file_chooser_button_init): Use gtk_drag_dest_add_text_targets().
(gtk_file_chooser_button_drag_data_received): Use gtk_selection_data_get_text().
(gtk_file_chooser_button_set_dialog): _gtk_file_chooser_entry_set_base_folder()
seems to expect a path, not an uri.
(update_dialog): Handle g_filename_from_uri() returning NULL, don't free
info if it is NULL.
* gtk/gtkfilechooserbutton.h: Minor stylistic changes.
Matthias Clasen [Tue, 17 Aug 2004 16:21:46 +0000 (16:21 +0000)]
ADd GtkFileChooserButton docs.
Matthias Clasen [Tue, 17 Aug 2004 16:06:39 +0000 (16:06 +0000)]
New widget to go along with GtkFontButton and GtkColorButton for use in
2004-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.[hc]: New widget to go along with
GtkFontButton and GtkColorButton for use in preference dialogs.
Replaces GnomeFileEntry. (#148108, James M. Cape)
* gtk/gtk.h: Include gtkfilechooserbutton.h
* gtk/Makefile.am (gtk_public_h_sources): Add gtkfilechooserbutton.h
(gtk_c_sources): Add gtkfilechooserbutton.c
* gtk/gtk.symbols: Add the GtkFileChooserButton symbols.
* gtk/gtkfilechooserutils.[hc]: Make the delegate quark available.
* gtk/gtkfilechooserentry.[hc] (_gtk_file_chooser_entry_new): Allow
to suppress tab-eating using the new eat_tabs argument. Adjust all
callers.
* tests/testfilechooserbutton.c: Test for GtkFileChooserButton.
* tests/Makefile.am (noinst_PROGRAMS): Add testfilechooserbutton
Morten Welinder [Mon, 16 Aug 2004 19:05:58 +0000 (19:05 +0000)]
Comment out mallinfo stuff. Fix g_print %-strings.
2004-08-16 Morten Welinder <terra@gnome.org>
* tests/testtreemodel.c (test_run): Comment out mallinfo stuff.
Fix g_print %-strings.
Matthias Clasen [Mon, 16 Aug 2004 18:38:55 +0000 (18:38 +0000)]
Doc update.
2004-08-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_render_icon): Doc update.
* gtk/gtkiconfactory.c (render_icon_name_pixbuf): When the size is -1,
use the available size closest to 48. (#150147)
* gtk/gtkicontheme.c (gtk_icon_theme_get_icon_sizes): Actually return
a pointer to the beginning of the sizes array, not the end.
Morten Welinder [Mon, 16 Aug 2004 18:33:35 +0000 (18:33 +0000)]
Fix C99ism.
2004-08-16 Morten Welinder <terra@gnome.org>
* gtk/gtksequence.c (_gtk_sequence_set): Fix C99ism.
Christian Rose [Mon, 16 Aug 2004 17:23:05 +0000 (17:23 +0000)]
Added "bs" to ALL_LINGUAS. Added Bosnian translations by Kenan
2004-08-16 Christian Rose <menthos@menthos.com>
* configure.in: Added "bs" to ALL_LINGUAS.
* po/bs.po, po-properties/bs.po: Added Bosnian translations
by Kenan Hadžiavdić <kenanh@frisurf.no>.
Matthias Clasen [Mon, 16 Aug 2004 05:44:52 +0000 (05:44 +0000)]
Updates.
Matthias Clasen [Mon, 16 Aug 2004 05:43:50 +0000 (05:43 +0000)]
Fix #150125:
Mon Aug 16 01:35:25 2004 Matthias Clasen <maclas@gmx.de>
Fix #150125:
* gtk/gtkcombobox.[hc]: Add a ::focus-on-click property and
change the default behaviour to focus on click.
* gtk/gtkbutton.c (gtk_button_set_focus_on_click): Typo fix.
Matthias Clasen [Mon, 16 Aug 2004 05:06:31 +0000 (05:06 +0000)]
Count from the beginning of the line, not from the current position.
Mon Aug 16 01:03:08 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset):
(gtk_text_iter_set_visible_line_index): Count from the
beginning of the line, not from the current position. (#150101,
Torsten Schoenfeld)
Tor Lillqvist [Sun, 15 Aug 2004 15:05:46 +0000 (15:05 +0000)]
Fix typo. The gtk.immodules file had never been included in my
2004-08-15 Tor Lillqvist <tml@iki.fi>
* gtk-zip.sh.in: Fix typo. The gtk.immodules file had never been
included in my zipfiles...!
* gtk/gtkfilesystemwin32.c (extract_icon): Improve handling of
icon alpha channel (on Windows XP) and mask (older Windows
versions). (#148641, Tim Evans)
Žygimantas Beručka [Sun, 15 Aug 2004 09:31:12 +0000 (09:31 +0000)]
Updated Lithuanian translation.
2004-08-15 Žygimantas Beručka <uid0@akl.lt>
* lt.po: Updated Lithuanian translation.
Matthias Clasen [Sun, 15 Aug 2004 06:36:23 +0000 (06:36 +0000)]
Make the use of S_ISFIFO and S_ISSOCK conditional. (#150146, Gustavo
Sun Aug 15 02:31:55 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilesystemunix.c (get_icon_type_from_stat): Make
the use of S_ISFIFO and S_ISSOCK conditional. (#150146,
Gustavo Carneiro)
Tor Lillqvist [Sat, 14 Aug 2004 16:47:48 +0000 (16:47 +0000)]
gtk/gtkfilechooserdefault.c (shortcuts_append_home,
2004-08-14 Tor Lillqvist <tml@iki.fi>
* gtk/gtkfilechooserdefault.c (shortcuts_append_home,
shortcuts_append_desktop, set_local_only)
* gtk/gtkfilesystemwin32.c (gtk_file_system_win32_render_icon)
* gtk/gtkpathbar.c (find_button_type, _gtk_path_bar_set_file_system):
Guard against g_get_home_dir() returning NULL. (#150007)
Soeren Sandmann [Sat, 14 Aug 2004 15:59:39 +0000 (15:59 +0000)]
New function.
Sat Aug 14 17:56:33 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkentry.c (gtk_entry_get_pixel_ranges): New function.
* gtk/gtkentry.c (in_selection): New function using
gtk_entry_get_pixel_ranges() to determine whether a click is in
the selection. Improve entry behavior wrt. dragging and
selecting. Bug #143249.
Sat Aug 14 17:53:46 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* configure.in: Require glib 2.5.2
* gtk/gtksequence.[ch]: New internal data structure.
* gtk/gtkliststore.[hc]: Reimplement in terms of new data
structure
* tests/Makefile.am (testtreemodel_SOURCES):
* tests/testtreemodel.c: New test program written by Matthias.
Matthias Clasen [Fri, 13 Aug 2004 18:09:29 +0000 (18:09 +0000)]
Don't install the settings_notify_cb from here, since it may be called
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_style_set):
Don't install the settings_notify_cb from here, since it
may be called before the first screen_changed signal,
confusing the logic in gtk_file_chooser_screen_changed().
(#148803, Abel Daniel)
cinamod [Fri, 13 Aug 2004 17:07:17 +0000 (17:07 +0000)]
don't draw handle box grippies for GtkPaned
Matthias Clasen [Fri, 13 Aug 2004 17:03:13 +0000 (17:03 +0000)]
Remove leftover debugging output
cinamod [Fri, 13 Aug 2004 16:56:30 +0000 (16:56 +0000)]
draw handle box tearoffs properly now in XP mode
Matthias Clasen [Fri, 13 Aug 2004 16:50:32 +0000 (16:50 +0000)]
Make re-sensitivation work in menu mode.
2004-08-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c: Make re-sensitivation work
in menu mode.
cinamod [Fri, 13 Aug 2004 15:32:19 +0000 (15:32 +0000)]
make things etched-in
Matthias Clasen [Fri, 13 Aug 2004 13:48:20 +0000 (13:48 +0000)]
Fix the docs build.
Matthias Clasen [Fri, 13 Aug 2004 05:11:24 +0000 (05:11 +0000)]
Make fixed height mode handle insertions. (135955, Michael Vogt, testcase
Fri Aug 13 01:06:56 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_row_inserted):
Make fixed height mode handle insertions. (135955,
Michael Vogt, testcase by Tim-Philipp Müller, fix by
Pawel Salek)
Matthias Clasen [Fri, 13 Aug 2004 04:42:10 +0000 (04:42 +0000)]
Add missing include.
Matthias Clasen [Fri, 13 Aug 2004 04:00:29 +0000 (04:00 +0000)]
Fix #149547, Markus Lausser:
Thu Aug 12 23:52:12 2004 Matthias Clasen <maclas@gmx.de>
Fix #149547, Markus Lausser:
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
* gtk/gtkcombobox.c (gtk_combo_box_size_request): Don't
crash if size_request or size_allocate are called early.
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): Protect
against being allocated too small.
Matthias Clasen [Fri, 13 Aug 2004 03:18:35 +0000 (03:18 +0000)]
Remove an accidentally added include.
Thu Aug 12 23:18:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkhandlebox.c: Remove an accidentally added include.
Matthias Clasen [Fri, 13 Aug 2004 02:26:57 +0000 (02:26 +0000)]
Properly determine the number of colors in an OS/2 BMP file. (#150003,
Thu Aug 12 22:19:12 2004 Matthias Clasen <maclas@gmx.de>
* io-bmp.c (DecodeHeader): Properly determine the number of
colors in an OS/2 BMP file. (#150003, Jon-Kare Hellan)
Matthias Clasen [Fri, 13 Aug 2004 01:10:38 +0000 (01:10 +0000)]
Adjust to GtkAboutDialog API changes.
Thu Aug 12 21:02:57 2004 Matthias Clasen <maclas@gmx.de>
* demos/gtk-demo/appwindow.c (about_cb): Adjust to GtkAboutDialog API changes.
* gtk/gtkaboutdialog.h:
* gtk/gtkaboutdialog.c (gtk_about_dialog_set_email_hook):
(gtk_about_dialog_set_url_hook): Add callback data and destroy notify
for language bindings. (#149999, Olivier Andrieu)
Matthias Clasen [Thu, 12 Aug 2004 21:09:03 +0000 (21:09 +0000)]
Underscore-prefix gtk_file_system_module_get_type(). Underscore-prefix
2004-08-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystem.c: Underscore-prefix gtk_file_system_module_get_type().
* gtk/gtkfilechooserdefault.c: Underscore-prefix shortcuts_model_filter_get_type().
* gtk/gtkimmodule.c: Make gtk_im_module_get_type() static.
* gtk/gtk.symbols:
* gtk/gtkinternals.h: Remove the no longer exported get_type functions.
Matthias Clasen [Thu, 12 Aug 2004 14:17:30 +0000 (14:17 +0000)]
Remove C99-isms. (#149967, Vincent Noel)
2004-08-12 Matthias Clasen <mclasen@redhat.com>
* pixops/pixops.c: Remove C99-isms. (#149967, Vincent Noel)
Matthias Clasen [Thu, 12 Aug 2004 05:37:10 +0000 (05:37 +0000)]
Make the icon view accessible by implementing the necesssary ATK
Thu Aug 12 01:35:46 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkiconview.c: Make the icon view accessible by
implementing the necesssary ATK interfaces. (#149728,
Padraig O'Briain)